<html>
<head>
	<title>{{headbody}}</title>
</head>
<body>
<h1>Your notes</h1>
{% if not notes%}
<h2>No notes</h2>
{% else %}
{% for note in notes.all %}
<div id="note">
	{{note.content}}
	<div class="dates">
		Date added - {{note.date_added|date:"Y M D d"}}<br/>
		Date edited - {{note.date_edited|date:"Y M D d"}}<br/>
	</div>
	<div class="tags">
		{% for tag in note.tag_set.all %}
			{{tag.name}} - {{tag.get_type_display}}<br/>
		{% endfor %}
	</div>
</div>
{% endfor %}
{% endif %}
</body>
<html>